<?php
require_once "../../../PCO.php";
include (DIR_FUNCTIONS."function_graph_2.php");
include (DIR_FUNCTIONS."functions.php");

$compte_array=array();
$num_cli="";
$num=array();
$title=$_REQUEST["title"]; // le titre
$id=$_REQUEST["id"]; // l'ID du division.
$client=trim($_REQUEST["num_cli"]); // le numero du client.
if(strstr("Compte", $title)){ 
	// echo $client;
	echo "<iframe  src='../vues_client/div/compte.php?num_cli=".$client."' width='100%' height='300px'></iframe>";// en envoie le numero du client en GET pour traitement
}
if(strstr("Flux", $title)){
	echo "<iframe src='../vues_client/div/flux.php?num_cli=".$client."' width='100%'  height='300px'></iframe>";
}
if(strstr("Mouvements Client", $title)){
	echo "<iframe src='../vues_client/div/mouv.php?num_cli=".$client."' width='100%' height='100%' height='100%'></iframe>";
}
if(strstr("Remises Dailly", $title)){
	echo "<iframe src='../vues_client/div/rem_dailly.php?num_cli=".$client."' width='100%' height='100%'></iframe>";
}
if(strstr("Remises Portefeuille", $title)){
	echo "<iframe src='../vues_client/div/rem_portefeuille.php?num_cli=".$client."' width='100%' height='100%'></iframe>";
}
if(strstr("Fax Recus", $title)){
	echo "<iframe src='../vues_client/div/fax_recu.php?num_cli=".$client."' width='100%' height='100%'></iframe>";
}
if(strstr("Mouvements en Attente", $title)){
	echo "<iframe src='../vues_client/div/mouv_att.php?num_cli=".$client."' width='100%' height='100%'></iframe>";
}
if(strstr("Autorisations du client", $title)){
	echo "<iframe src='../vues_client/div/auto_cli.php?num_cli=".$client."' width='100%' height='100%'></iframe>";
}
if(strstr("Signatures Clients", $title)){
	echo "<iframe src='../vues_client/div/sign_cli.php?num_cli=".$client."' width='100%' height='100%'></iframe>";
}
if(strstr("Alertes Commerciales", $title)){
	echo "<iframe src='../vues_client/div/alerte_com.php?num_cli=".$client."' width='100%' height='100%'></iframe>";
}
if(strstr("Contact Client", $title)){
	echo "<iframe src='../vues_client/div/contact_cli.php?num_cli=".$client."' width='100%' height='100%'></iframe>";
}
if(strstr("Impayes DAI/PTF", $title)){
	echo "<iframe src='../vues_client/div/impayes.php?num_cli=".$client."' width='100%' height='100%'></iframe>";
}
?>